package me.linczh.bank.bean;

import java.io.Serializable;
import java.util.Date;

import me.linczh.bank.bean.enums.Department;
import me.linczh.bank.bean.enums.Operation;

@SuppressWarnings("serial")
public class LogBean implements Serializable {
	private Operation operation; // 0: create | 1: deposit | 2: withdrawal | 3: query | 4: transfer | 5: password | 6: delete
	private String employee;
	private String employeename;
	private Department department;
	private String account;
	private String username;
	private String identity;
	private double change;
	private double balance;
	private Date time;
	
	public Operation getOperation() {
		return operation;
	}
	public void setOperation(Operation operation) {
		this.operation = operation;
	}
	public String getEmployee() {
		return employee;
	}
	public void setEmployee(String employee) {
		this.employee = employee;
	}
	public String getEmployeename() {
		return employeename;
	}
	public void setEmployeename(String employeename) {
		this.employeename = employeename;
	}
	public Department getDepartment() {
		return department;
	}
	public void setDepartment(Department department) {
		this.department = department;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getIdentity() {
		return identity;
	}
	public void setIdentity(String identity) {
		this.identity = identity;
	}
	public double getChange() {
		return change;
	}
	public void setChange(double change) {
		this.change = change;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	
	
}
